﻿Imports System

Namespace System.Workflow.Runtime
    Friend Class DebuggerThreadMarker
        Inherits AmbientEnvironment
        ' Methods
        Public Sub New()
            MyBase.New(New Object)
        End Sub

        Friend Shared Function IsInDebuggerThread() As Boolean
            Return (Not AmbientEnvironment.Retrieve Is Nothing)
        End Function

    End Class
End Namespace

